using ZeroSum.Models;

namespace ZeroSum.Exceptions;

public class TokenExpiredException : BusinessException
{
    protected TokenExpiredException(string message) : base(message, ResponseStatus.TokenExpired)
    {
    }

    public static TokenExpiredException Of(string message)
    {
        return new TokenExpiredException(message);
    }
}